/*年轻人，只管向前看，不要管自暴自弃者的话*/
package com.composetest.page.video.navigation

import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import com.composetest.page.video.VideoRoute
import com.composetest.ui.navigation.myComposable

const val VIDEO_ROUTE = "video"

/**
 * 跳转
 */
fun NavController.navigationToVideo(): Unit {
    navigate(VIDEO_ROUTE) 
}

/**
 * 配置导航
 */
fun NavGraphBuilder.videoScreen(): Unit {
    myComposable(VIDEO_ROUTE) {
        VideoRoute()
    }
}
